package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Position;

public interface PositionMapper {

	public int deletePositionById(long id);

	public Position selectPositionById(long id);

	public List<Position> selectPositionByMap(Map<String,Object> map);

	public List<Position> selectPosition(Position position);

	public List<Position> selectAllPosition();

	public int insertPosition(Position position);

	public int updatePosition(Position position);

	public int deletePosition(Position position);

	public int updatePositionByMap(Map<String,Object> map);

	public int deletePositionByMap(Map<String,Object> map);
	public int getAllPositionCounts();
	public int getPositionCounts(Position position);
	public int getPositionCountsByMap(Map<String,Object> map);
}
